import java.util.Random;
import java.util.Scanner;

public class HelloWorld {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int num = sc.nextInt();
        if (((num % 4 == 0) && (num % 100 != 0)) || (num % 400) == 0) {
            System.out.println("num是闰年");
        } else {
            System.out.println("num不是闰年");
        }
    }
}



